/*****************************************************************************/
/**
 *  @file   ModulePixelSend.h
 *  @author Allan Lorant, Naohisa Sakamoto
 */
/*----------------------------------------------------------------------------
 *
 *  Copyright (c) Visualization Laboratory, Kyoto University.
 *  All rights reserved.
 *  See http://www.viz.media.kyoto-u.ac.jp/kvs/copyright/ for details.
 *
 *  $Id$
 */
/*****************************************************************************/
#ifndef MODULE_PIXEL_SEND_H_INCLUDE
#define MODULE_PIXEL_SEND_H_INCLUDE

#include <flowvr/app/components/module.comp.h>


/*===========================================================================*/
/**
 *  @brief  Pixel send module.
 */
/*===========================================================================*/
class ModulePixelSend : public flowvr::app::Module
{
    typedef flowvr::app::Module SuperClass;

public:

    ModulePixelSend( const std::string& id ): SuperClass( id )
    {
        SuperClass::setInfo( "Module PixelSend renders an image of the imported data" );
        SuperClass::addPort( "pixelOut", flowvr::app::OUTPUT );
        SuperClass::addPort( "sizeOut", flowvr::app::OUTPUT );
    }

    flowvr::app::Component* create() const
    {
        return new ModulePixelSend( SuperClass::getId() );
    }
};

#endif // MODULE_PIXEL_SEND_H_INCLUDE
